﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xinkui.Entity.User;
using Xinkui.WebModel.Enums;

namespace Xinkui.WebModel.BasicClass {
    /// <summary>
    /// 登录页面 基类
    /// </summary>
    public abstract class LoginPageBase : PageBase {
        /// <summary>
        /// 必须登录
        /// </summary>
        protected override bool IsNeedLogin {
            get {
                return true;
            }
        }

        public LoginUserEntity CurrentLogin {
            get {
                return UserManager.GetCurLoginUser();
            }

        }


        public virtual UserCenterNavEnum Nav {
            get {
                return UserCenterNavEnum.Other;
            }
        }
    }
}
